# encoding: utf-8
=begin
module Comment
  def add_comment(content)
    @driver.find_element(:id, "textarea").send_keys content
    @driver.find_element(:id, "new_note_form_submit").click
  end

  def update_comment(update_content)
    @driver.find_element(:link, "编辑").click
    @driver.find_element(:id, "note_issue_note").send_keys update_content
    @driver.find_element(:id, "new_note_issue").find_element(:xpath, "//input[@name='commit']").click
  end

  def del_comment
    @driver.find_element(:link, "删除").click
    @driver.switch_to().alert().accept()
  end
end
=end